package com.yue.rpc.compress;

import com.yue.rpc.extension.SPI;

/**
 * @description:
 * @author: zhangqiyue
 * @date: 2023/3/6 16:11
 **/

@SPI
public interface Compress {

    byte[] compress(byte[] bytes);


    byte[] decompress(byte[] bytes);
}
